/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Socket;

import java.io.Serializable;

/**
 *
 * @author Rui Deyllot
 */
public class Response implements Serializable{

    private Object valor;

    public Response(int valor) {
        this.valor = (Object)valor;
    }

    public Response(boolean valor) {
        this.valor = (Object)valor;
    }

    public int getiValor() {
        return (Integer)valor;
    }

    public boolean getbValor() {
        return (Boolean)valor;
    }

}
